
package swa2012.telco.broker;

import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>Java class for brokerRegistrationStatus.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * <p>
 * <pre>
 * &lt;simpleType name="brokerRegistrationStatus">
 *   &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *     &lt;enumeration value="REGISTRATION_OK"/>
 *     &lt;enumeration value="REGISTRATION_UNSUCCESSFUL_PING"/>
 *     &lt;enumeration value="REGISTRATION_ALREADY_REGISTERED"/>
 *     &lt;enumeration value="REGISTRATION_ALREADY_DEREGISTERED"/>
 *     &lt;enumeration value="REGISTRATION_ERROR"/>
 *   &lt;/restriction>
 * &lt;/simpleType>
 * </pre>
 * 
 */
@XmlType(name = "brokerRegistrationStatus")
@XmlEnum
public enum BrokerRegistrationStatus {

    REGISTRATION_OK,
    REGISTRATION_UNSUCCESSFUL_PING,
    REGISTRATION_ALREADY_REGISTERED,
    REGISTRATION_ALREADY_DEREGISTERED,
    REGISTRATION_ERROR;

    public String value() {
        return name();
    }

    public static BrokerRegistrationStatus fromValue(String v) {
        return valueOf(v);
    }

}
